package com.weipai.demo.service;

import com.weipai.demo.model.CreditCard;
import com.weipai.demo.util.LayuiTablePagingResult;
import com.weipai.demo.util.Response;

/**
 * @Author: 赵项阳
 * @Date: 2019/6/29 16:04
 * @Version 1.0
 */
public interface CreditCardService {
    Response cardClass(String designation, String attribute, Integer status,Integer id);

    LayuiTablePagingResult pageShow(Integer page, Integer size, CreditCard creditCard);

    Response deleteById(Integer id);

    LayuiTablePagingResult searchBykeyword(Integer page, Integer size, CreditCard creditCard);

    LayuiTablePagingResult getCreditList(Integer page, Integer size,CreditCard creditCard);

    Response editcredit(CreditCard creditCard);

    Response changePublishStatus(Integer id,Integer publishStatus );

    Response delcredit(Integer id);

    Response showCredit(Integer id);

    Response recommended(Integer page,Integer size);

    Response hotCard();

}
